package com.learn.designpattern.decorator.v1;

public class BattercakeWithEgg extends Battercake{
    @Override
    protected String getDesc() {
        return super.getDesc()+" 加1个鸡蛋";
    }

    @Override
    protected int cost() {
        return super.cost()+1;
    }
}
